package Class.Advance.MethodReference.Practise;

import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

public class StringReference {
    public static void main(String[] args) {
        List<String> stringList = new ArrayList<>();
        Collections.addAll(stringList, "aaa", "bbb", "ccc");
        stringList.stream().map(String::toUpperCase).forEach(System.out::println);
    }
}
